package Ms

import (
	"db2s/global"
	"db2s/parDef"
)

func (Go GolF) Position(parameter parDef.Parameter) (result global.Return, err error) {
	//var event = "[Position]"
	//var execSql = []string{fmt.Sprintf("show master status")}
	switch parameter.Options.Scn {
	case "auto":
		//if parameter.ExecSqlFunc != nil {
			//if result, err = parameter.ExecSqlFunc(modifyGetDbQueryOptions(parameter.GetDbQueryOptions(parameter), dataDispos.String), execSql); err != nil {
			//	err = ref.ErrAddPrintf(event, err)
			//	return
			//}
		//}
	default:
		result.Result = parameter.Options.Scn
		return
	}
	return
}
